ssh root@118.89.86.27 "rm -rf /var/www/html/apan/*"
echo 'deleted /apan'
scp -r ./dist/* root@118.89.86.27:/var/www/html/apan/
echo 'sync complete'